<%= form_remote_tag(:url => {:controller => :item, :action => :search}, :update => 'search_result', :method => 'post', :loading => '$("loading").style.display="inline";', :complete => '$("loading").style.display="none";') %>
  <h2><%=h ("Choice from ") %>
    <%= radio_button_tag :search_type, 'amazon' %><%=h _("Amazon")%> / 
    <%= radio_button_tag :search_type, 'rakuten' %><%=h _("Rakuten")%>
  </h2>
  <div class="item"><%=h _("Product name") %></div>
  <div class="data"><%= text_field_tag :keyword %> <%= submit_tag _("Search") %></div>
<%= end_form_tag %>


<div id="loading" style="display:none">
  <%= image_tag "loading.gif" %>
</div>
<div id="search_result">

</div>
